package com.youwe.web.demo;

import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
@EnableAutoConfiguration
public class TestController {
	
	@RequestMapping("/hello")
	public ModelAndView hello() {
		ModelAndView val = new ModelAndView("hello");
		return val;
	}
	
	@RequestMapping("/mgr")
	public ModelAndView mgr() {
		ModelAndView val = new ModelAndView("mgr/mgr");
		return val;
	}
	
}
